package apiday01;

public class StringDemo {
    public static void main(String[] args) {

        String s1 =new String("hello");
        String s2="hello";
        String s3="hello";
        String s4="hello";
        System.out.println("s1"+s1);
        System.out.println("s2"+s2);
        System.out.println(s1==s2);
        System.out.println(s2==s3);
        System.out.println(s3==s4);




    }
}
